/*
 * @Author: 华芊芊 huaqianqian@yeah.net
 * @Date: 2023-09-22 10:08:44
 * @LastEditors: 华芊芊 huaqianqian@yeah.net
 * @LastEditTime: 2023-10-15 22:52:44
 * @FilePath: \zmglpt-ui-screen\src\api\market.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'
let paramsTemp = {
  // ...JSON.parse(localStorage.getItem('PICKTIME')),
  columnName: "prov_org_uuid",
  orgUuid: "00000000000000000000000011340001",
}
// 证件总览
export const getLicOverview = (params = {}) =>
  request({
    url: '/license_schema_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 办理情况
export const getLicHanding = (params = {}) =>
  request({
    url: '/accept_schema_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 综合管理
export const getLicTotalManagement = (params = {}) =>
  request({
    url: '/license_composite_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 电子烟管理
export const getLicECigar = (params = {}) =>
  request({
    url: '/electronic_cigarettes_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 容量
export const getLicCapacity = (params = {}) =>
  request({
    url: '/license_capacity_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 行政许可地图数据
export const getLicMapData = (params = {}) =>
  request({
    url: '/license_map_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 行政许可地图数据 市到县
export const getLicCountyMapData = (params = {}) =>
  request({
    url: '/license_map_county_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 流程管控 数量
export const getLicFlowNum = (params = {}) =>
  request({
    url: '/license_process_stat_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
//质效评价
export const getLicenseFiveFive = (params = {}) =>
  request({
    url: '/license_five_five_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
//申请明显数据
export const getLicenseProcessStatSqmx = (params = {}) =>
  request({
    url: '/license_process_stat_sqmx_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
//新办超期明细数据
export const getLicenseProcessStatXbcq = (params = {}) =>
    request({
        url: '/license_process_stat_xbcq_ah_v1/',
        method: 'get',
        params: { ...paramsTemp, ...params },
        custom: { catch: true },
    })
//新办明细数据
export const getLicenseProcessStatXbmz = (params = {}) =>
  request({
    url: '/license_process_stat_xbmz_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
//其他流程明细数据
export const getLicenseProcessStatQtmz = (params = {}) =>
  request({
    url: '/license_process_stat_qtmx_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 合理容量
export const getCapacity = (params = {}) =>
  request({
    url: '/license_reasonable_capacity_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 5+5排序
export const getFiveAndFiveList = (params = {}) =>
  request({
    url: '/license_work_radio_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 对标
export const getBmkData = (params = {}) =>
  request({
    url: '/license_bmk_data_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })

// 对标-持证卷烟零售户增幅地市-安徽省地市商户率
export const getHomeAmplifyCityData = (params = {}) =>
  request({
    url: '/home_lic_schema_ah_area_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })

// 对标-持证卷烟零售户增幅地市-安徽省地市商户率
export const getHomeAmplifyCountyData = (params = {}) =>
  request({
    url: '/home_lic_schema_ah_county_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
